package com.triones.ljr.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.triones.ljr.entity.dto.CheckCustomDO;
import com.triones.ljr.entity.vo.CheckCustomVO;
import com.triones.ljr.entity.vo.CustomCheckCustomVO;
import org.apache.ibatis.annotations.Param;

/**
 * 检查制定
 */
public interface CheckCustomMapper extends BaseMapperPlus<CheckCustomMapper, CheckCustomDO, CheckCustomVO> {

    /**
     * 系统检查列表（分页）
     * @param build
     * @param wrapper
     * @return
     */
    Page<CustomCheckCustomVO> sysPageList(@Param("page") Page<Object> build,@Param(Constants.WRAPPER) QueryWrapper<Object> wrapper);

    /**
     * 获取详情
     * @param id
     * @return
     */
    CustomCheckCustomVO getInfo(@Param("id") Long id);
}
